
var url = require('url')

var path = "http://127.0.0.1:8000/b.html?page=1&sex='girl'"

var obj = url.parse(path, true)

var filePath = obj.pathname;



console.log(filePath)